#pragma once
#include <nice2d/actions/finitetimeaction.h>

class ColorizedAction : public FiniteTimeAction
{
public:
    ColorizedAction(const sf::Color& dstColor,float duration = 3.0f);
    ~ColorizedAction();
public:
    sf::Color getDstColor()const;
protected:
    void update(float deltaTime)override;
private:
    std::unique_ptr<class ColorizedActionData> data;
};
